package com.itcat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itcat.mysql.pojo.OmsOrder;
import com.itcat.mysql.pojo.UmsAdmin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;


@Mapper
public interface OmsOrderMapper extends BaseMapper<OmsOrder> {

   /* @Update(
            "<script>" +
                    " UPDATE oms_order" +
                    "    SET status=#{code} ," +
                    "    note=#{note} " +
                    "        WHEN id IN " +
                    "<foreach  item = 'item' index='index' collection='ids' open='(' separator=',' close=')'> #{item}    </foreach>" +
                    "</script>")
    void closeOrder(@Param("ids") Integer[] ids, @Param("note") String note, @Param("code") Integer code);*/
}
